package com.dubbo;

/**
 * @author caoqianhuan
 * @date 2022/9/19
 * @Description:
 */
public class ClassLoaderTest {
    public static void main(String[] args) throws ClassNotFoundException {
        ClassLoader classLoader = ClassLoaderTest.class.getClassLoader();
        //loadClass方法并不会导致 类的初始化
        Class class_ = classLoader.loadClass("com.dubbo.A");
        System.out.println(class_);
        new A();
    }
}
